﻿<Window x:Class="WpfClient.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid x:Name ="_grid">
        <Grid.Resources>
            <CollectionViewSource  x:Key="_source"></CollectionViewSource>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="5"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBox Grid.Row="0" Text="Results:"/>

        <ListBox Grid.Row="1" Name="ResultBox"      ItemsSource="{Binding Source={StaticResource _source}}" />
        
        <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Height="25">
            <Button Content="Agencies" Name="AgenciesButton" MinWidth="75" />
            <Button Content="Stops" Name="StopsButton" MinWidth="75" />
            <Button Content="Itineraries" Name="ItinerariesButton" MinWidth="75" />
        </StackPanel>
    </Grid>
</Window>
